﻿<UserControl x:Class="ImageTagEditor.NullableDateTimePicker"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:avalon="clr-namespace:AC.AvalonControlsLibrary.Controls;assembly=AvalonControlsLibrary"
			 xmlns:forms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
			 xmlns:host="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"

			 Height="auto" 
			 Width="auto">
    <Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*" />
			<ColumnDefinition Width="auto" />
		</Grid.ColumnDefinitions>
		
		<TextBlock x:Name="nullLabel"
				   Grid.Row="0"
				   Grid.Column="0"
				   VerticalAlignment="Center">
			Information Not Present
		</TextBlock>

		
		<avalon:DateTimePicker x:Name="dateTimePicker"
							   Grid.Row="0"
							   Grid.Column="0"
							   Visibility="Hidden"/> 
		<CheckBox x:Name="hasValueCheckBox"
				  Grid.Row="0"
				  Grid.Column="1"
				  VerticalAlignment="Center" 
				  IsChecked="False"
				  Checked="hasValueCheckBox_Checked" 
				  Unchecked="hasValueCheckBox_Unchecked"
				  Margin="2,0,5,0">
			Has Value
		</CheckBox>
    </Grid>
</UserControl>
